/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.basic.hazard.source.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.hopes.bizz.common.core.annotation.ExcelDictValidate;
import com.hopes.boss.common.entity.ExcelVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 重大危险源
 *
 * @author daijie
 * @date 2023-10-25 11:00:10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ColumnWidth(30)
public class HazHazardSourceExcelVO extends ExcelVO {

    private static final long serialVersionUID = 1L;



	/**
	* 危险源编码
	*/
    @ExcelProperty("危险源编码")
    private String hazardCode;

	/**
	* 危险源名称
	*/
    @ExcelProperty("危险源名称")
    private String hazardName;

	/**
	* 危险源简称
	*/
    @ExcelProperty("危险源简称")
    private String shortName;

	/**
	* 危险源地址
	*/
    @ExcelProperty("危险源地址")
    private String hazardAddress;

	/**
	* 占地面积 (㎡)
	*/
    @ExcelProperty("占地面积 (㎡)")
    private BigDecimal floorArea;


	/**
	* 所处环节
	*/
    @ExcelProperty("所处环节")
	@ExcelDictValidate(enumResolver = "hazard_step")
    private String hazardStepStr;

	/**
	* 是否重大危险源
	*/
    @ExcelProperty("是否重大危险源")
	@ExcelDictValidate(enumResolver = "yes_no_type")
    private String isHazardSourceStr;

	/**
	* 危险源级别
	*/
    @ExcelProperty("危险源级别")
	@ExcelDictValidate(enumResolver = "haz_hazard_source_level")
    private String hazardSourceLevelStr;

	/**
	* R值
	*/
    @ExcelProperty("R值")
    private BigDecimal riskValue;


	/**
	* 投用时间
	*/
    @ExcelProperty("投用时间")
	@DateTimeFormat("yyyy-MM-dd")
    private Date hazardUseDate;

	/**
	* 500m范围内人数
	*/
    @ExcelProperty("500m范围内人数")
    private Integer peopleNum;

	/**
	* 重点防护目标最近距离
	*/
    @ExcelProperty("重点防护目标最近距离")
    private Integer protectDistance;

	/**
	* 极端事故伤亡半径
	*/
    @ExcelProperty("极端事故伤亡半径")
    private Integer casualtyRadius;

	/**
	* 极端可能伤亡人数
	*/
    @ExcelProperty("极端可能伤亡人数")
    private Integer casualtyNum;

	/**
	* 生产能力
	*/
    @ExcelProperty("生产能力")
    private BigDecimal capacity;

	/**
	* 备案期限起
	*/
    @ExcelProperty("备案期限起")
	@DateTimeFormat("yyyy-MM-dd")
    private Date filingBegin;

	/**
	* 备案期限止
	*/
    @ExcelProperty("备案期限止")
	@DateTimeFormat("yyyy-MM-dd")
    private Date filingEnd;

	/**
	* 是否涉及18种危险工艺
	*/
    @ExcelProperty("是否涉及18种危险工艺")
	@ExcelDictValidate(enumResolver = "yes_no_type")
    private String chemicalProcessFlagStr;

	/**
	* 所属18种危险化工工艺
	*/
    @ExcelProperty("所属18种危险化工工艺")
    private String chemicalProcess;

	/**
	* 危险源描述
	*/
    @ExcelProperty("危险源描述")
    private String hazardDesc;

	/**
	* 控制措施
	*/
    @ExcelProperty("控制措施")
    private String controlDesc;

	/**
	* 三年内事故情况
	*/
    @ExcelProperty("三年内事故情况")
    private String accidentSituation;

	/**
	* 备注
	*/
    @ExcelProperty("备注")
    private String remarks;

	/**
	* 辨识日期
	*/
    @ExcelProperty("辨识日期")
	@DateTimeFormat("yyyy-MM-dd")
    private Date identifyDate;

	/**
	* 辨识状态
	*/
    @ExcelProperty("辨识状态")
	@ExcelDictValidate(enumResolver = "hazard_identify_status")
    private String identifyStatusStr;

	/**
	* 下次辨识日期
	*/
    @ExcelProperty("下次辨识日期")
	@DateTimeFormat("yyyy-MM-dd")
    private Date nextIdentifyDate;

	/**
	* 是否位于工业园区内
	*/
    @ExcelProperty("是否位于工业园区内")
	@ExcelDictValidate(enumResolver = "yes_no_type")
    private String isInParkStr;

	/**
	* 运行状态
	*/
    @ExcelProperty("运行状态")
	@ExcelDictValidate(enumResolver = "hazard_running_status")
    private String runningStatusStr;

	/**
	* 管控负责人
	*/
    @ExcelProperty("管控负责人")
	@ExcelDictValidate(enumResolver = "sys_user")
    private String controlUserIdStr;

	/**
	* 技术负责人
	*/
    @ExcelProperty("技术负责人")
	@ExcelDictValidate(enumResolver = "sys_user")
    private String techUserIdStr;

	/**
	* 操作负责人
	*/
    @ExcelProperty("操作负责人")
	@ExcelDictValidate(enumResolver = "sys_user")
    private String operateUserIdStr;

}
